    /*  
    championBuilder - Champions Online character planner.
    Copyright (C) 2009 Moritz Hartmeier
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You can find the GNU General Public License in the data folder.
    */


package ch.zarzu.champions.builder.logic;

import ch.zarzu.champions.builder.Main;
import ch.zarzu.champions.builder.SystemLink;
import ch.zarzu.champions.builder.gui.*;

public class LanguageUpdateThread extends Thread {

    //update all outside files to the new language
    public void run() {
        SystemLink.getInstance().parseXml();
        Main.getInstance().updateLanguage();
        MainInterface.getInstance().updateLanguage();
        BuildUpdater.getInstance().updateLanguage();
        PowerList.getInstance().updateLanguage();
        CharacteristicObserver.getInstance().updateLanguage();
        CharacterSheet.getInstance().updateLanguage();
        
        Listener.getInstance().LanguageUpdateDone();
    }
}
